﻿$(document).ready(function () {
    //var item = $("#top_menu li:first").attr("id");
    //alert(item);
    //$("#subContent .rightContent").load("/Dictionary/Index/" + item);
    //alert(item);
    $("#subContent li").click(function () {
        $("#top_menu li").removeClass("selectedNav");
        $(this).addClass("selectedNav");
        var item = $(this).attr("id");
        //alert(item);
        
        //$("#subContent .rightContent").load("/Dictionary/Index/" + item);
        var selector = "#subContent .rightContent";
        var url = "/Dictionary/Index/" + item;
        ajaxLoad(selector, url);
        
    })
})
